package com.szh.publisher;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableRabbit
@Slf4j
public class MQPublisher {
    public static void main(String[] args) {
        SpringApplication.run(MQPublisher.class,args);
        log.error("MQPublisher ---run---- ");
    }
}
